# -*- encoding utf-8


import sys
sys.path.append("../autotest_lib")
from parse_build_miniprotobuf import *
from person_miniprotobuf import *
s = ""
for i in struct.keys():
    s += get_head(i,struct[i])
    s += get_constructor(i,struct[i])
    s += get_copy_constructor(i,struct[i])
    s += get_operator_equal(i,struct[i])
    s += get_destructor(i,struct[i])
    s += get_statement(i,struct[i])
    s += get_parse(i,struct[i])
    s += get_serialize(i,struct[i])
    s += get_end(i,struct[i])
print s
#
w = open("""person_easypb.h""", "w")
w.write(s)
w.close()